<?php

namespace app\admin\validate;

use think\Validate;

class Skuinventory extends Validate
{

     protected $rule =   [
        
        'sku'=>'require',
        // 'shelf'=>'require',
        'safe'=>'require',
        'on'=>'require',
        'pre_sale'=>'require',
        'usable'=>'require',
        'sum'=>'require',
        'product_id'=>'require',
        'variants_id'=>'require',   
    ];

    protected $scene = [
        'edit'  =>  [],
    ]; 
}